package main

import (
	"booking/config"
	"booking/internal/admin/router"
	"booking/locales"
	"booking/models"
	"booking/service/seresty"
	"time"
)

func main() {
	time.Local = time.UTC
	config.Init()
	models.Database()
	models.Redis()
	locales.Init()
	seresty.RestyInit()
	// 初始化事件系统
	r := router.Router()
	_ = r.Run(":6301")
}
